package com.liveneo.adapter.mobile.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.liveneo.adapter.base.support.BaseController;
import com.liveneo.adapter.base.support.LogUtils;
import com.liveneo.adapter.mobile.model.SurveyLossConfirm;
import com.liveneo.adapter.mobile.model.SurveyUploadImageData;

/**
  * @Description: 查勘平台与适配器接口
  * @author liveneo-shuqw
  * @date 2016年6月21日 上午10:06:08
  * Copyright: Copyright (c) 2016 
  * Company: 北京朗泰
  * @version 3.0
  */
@Controller
@RequestMapping("/mobile")
public class MobileSurveyController extends BaseController {
    /**
      * @Title: 
      * @Description: 影像资料上传
      * @param @return 设定文件
      * @return String 返回类型
      * @throws
     */
    @RequestMapping("/uploadImageData.action")
    @ResponseBody
    public String uploadImageData(@RequestBody SurveyUploadImageData data) {
        LogUtils.info("\n################影像资料上传###############\n" + data.toString());
        return null;
    }

    /**
      * @Title: 用户定损结果确认
      * @Description: TODO
      * @param @return 设定文件
      * @return String 返回类型
      * @throws
     */
    @RequestMapping("/singleLossConfirm.action")
    @ResponseBody
    public String singleLossConfirm(@RequestBody SurveyLossConfirm data) {
        LogUtils.info(data.toString());
        return null;
    }

    /**
      * @Title: 任务正常结束
      * @Description: TODO
      * @param @return 设定文件
      * @return String 返回类型
      * @throws
     */
    @RequestMapping("/taskNormalEnd.action")
    @ResponseBody
    public String taskNormalEnd() {
        return null;
    }

    /**
      * @Title: 查勘定损任务调度
      * @Description: TODO
      * @param @return 设定文件
      * @return String 返回类型
      * @throws
     */
    @RequestMapping("/dispatchSurveyDelegate.action")
    @ResponseBody
    public String dispatchSurveyDelegate() {
        return null;
    }

    /***
      * @Title: 查勘定损任务改派
      * @Description: TODO
      * @param @return 设定文件
      * @return String 返回类型
      * @throws
     */
    @RequestMapping("/applySurveyReassign.action")
    @ResponseBody
    public String applySurveyReassign() {
        return null;
    }
}
